// import { createApp } from 'vue'
import Vue from 'vue'
import App from './App.vue'
import './registerServiceWorker'
import router from './router'
import store from './store'
//添加全局组件第一步，导入组件
import DoubleCounter from './components/DoubleCounter.vue'
//添加全局组件第二步，注册组件
 //createApp(App).use(store).use(router).use(createPinia()).component('DoubleCounter',DoubleCounter).mount('#app')
Vue.config.productionTip = true
Vue.component("DoubleCounter",DoubleCounter)

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')

  
